+2002-02-13 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/gdkinternals.h: Add some more GdkDebugFlags, for more
+ fine-grained debugging output (mainly used in the Win32 backend).
+
+ * gdk/gdk.c: Corresponding additions to the gdk_debug_keys table.
+
Wed Feb 13 15:42:42 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktooltips.[ch] gtkwidget.c: Implement Control-F1
cursor, set the Windows cursor to none first.
* gdk/win32/gdkgc-win32.c (predraw_set_foreground): Delete the old
- brush that was in the DC, like the win32-procution branch does. I
+ brush that was in the DC, like the win32-production branch does. I
guess this plugs a resource leak? With the HDC cache, the old
brush might be something we created ourselves, and not a stock
brush. And it doesn't do any harm to call DeleteObject on stock
+2002-02-13 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/gdkinternals.h: Add some more GdkDebugFlags, for more
+ fine-grained debugging output (mainly used in the Win32 backend).
+
+ * gdk/gdk.c: Corresponding additions to the gdk_debug_keys table.
+
Wed Feb 13 15:42:42 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktooltips.[ch] gtkwidget.c: Implement Control-F1
cursor, set the Windows cursor to none first.
* gdk/win32/gdkgc-win32.c (predraw_set_foreground): Delete the old
- brush that was in the DC, like the win32-procution branch does. I
+ brush that was in the DC, like the win32-production branch does. I
guess this plugs a resource leak? With the HDC cache, the old
brush might be something we created ourselves, and not a stock
brush. And it doesn't do any harm to call DeleteObject on stock
+2002-02-13 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/gdkinternals.h: Add some more GdkDebugFlags, for more
+ fine-grained debugging output (mainly used in the Win32 backend).
+
+ * gdk/gdk.c: Corresponding additions to the gdk_debug_keys table.
+
Wed Feb 13 15:42:42 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktooltips.[ch] gtkwidget.c: Implement Control-F1
cursor, set the Windows cursor to none first.
* gdk/win32/gdkgc-win32.c (predraw_set_foreground): Delete the old
- brush that was in the DC, like the win32-procution branch does. I
+ brush that was in the DC, like the win32-production branch does. I
guess this plugs a resource leak? With the HDC cache, the old
brush might be something we created ourselves, and not a stock
brush. And it doesn't do any harm to call DeleteObject on stock
+2002-02-13 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/gdkinternals.h: Add some more GdkDebugFlags, for more
+ fine-grained debugging output (mainly used in the Win32 backend).
+
+ * gdk/gdk.c: Corresponding additions to the gdk_debug_keys table.
+
Wed Feb 13 15:42:42 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktooltips.[ch] gtkwidget.c: Implement Control-F1
cursor, set the Windows cursor to none first.
* gdk/win32/gdkgc-win32.c (predraw_set_foreground): Delete the old
- brush that was in the DC, like the win32-procution branch does. I
+ brush that was in the DC, like the win32-production branch does. I
guess this plugs a resource leak? With the HDC cache, the old
brush might be something we created ourselves, and not a stock
brush. And it doesn't do any harm to call DeleteObject on stock
+2002-02-13 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/gdkinternals.h: Add some more GdkDebugFlags, for more
+ fine-grained debugging output (mainly used in the Win32 backend).
+
+ * gdk/gdk.c: Corresponding additions to the gdk_debug_keys table.
+
Wed Feb 13 15:42:42 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktooltips.[ch] gtkwidget.c: Implement Control-F1
cursor, set the Windows cursor to none first.
* gdk/win32/gdkgc-win32.c (predraw_set_foreground): Delete the old
- brush that was in the DC, like the win32-procution branch does. I
+ brush that was in the DC, like the win32-production branch does. I
guess this plugs a resource leak? With the HDC cache, the old
brush might be something we created ourselves, and not a stock
brush. And it doesn't do any harm to call DeleteObject on stock
+2002-02-13 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/gdkinternals.h: Add some more GdkDebugFlags, for more
+ fine-grained debugging output (mainly used in the Win32 backend).
+
+ * gdk/gdk.c: Corresponding additions to the gdk_debug_keys table.
+
Wed Feb 13 15:42:42 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktooltips.[ch] gtkwidget.c: Implement Control-F1
cursor, set the Windows cursor to none first.
* gdk/win32/gdkgc-win32.c (predraw_set_foreground): Delete the old
- brush that was in the DC, like the win32-procution branch does. I
+ brush that was in the DC, like the win32-production branch does. I
guess this plugs a resource leak? With the HDC cache, the old
brush might be something we created ourselves, and not a stock
brush. And it doesn't do any harm to call DeleteObject on stock
+2002-02-13 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/gdkinternals.h: Add some more GdkDebugFlags, for more
+ fine-grained debugging output (mainly used in the Win32 backend).
+
+ * gdk/gdk.c: Corresponding additions to the gdk_debug_keys table.
+
Wed Feb 13 15:42:42 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktooltips.[ch] gtkwidget.c: Implement Control-F1
cursor, set the Windows cursor to none first.
* gdk/win32/gdkgc-win32.c (predraw_set_foreground): Delete the old
- brush that was in the DC, like the win32-procution branch does. I
+ brush that was in the DC, like the win32-production branch does. I
guess this plugs a resource leak? With the HDC cache, the old
brush might be something we created ourselves, and not a stock
brush. And it doesn't do any harm to call DeleteObject on stock
{"dnd", GDK_DEBUG_DND},
{"xim", GDK_DEBUG_XIM},
{"nograbs", GDK_DEBUG_NOGRABS},
+ {"colormap", GDK_DEBUG_COLORMAP},
+ {"gdkrgb", GDK_DEBUG_GDKRGB},
+ {"gc", GDK_DEBUG_GC},
+ {"pixmap", GDK_DEBUG_PIXMAP},
+ {"image", GDK_DEBUG_IMAGE},
+ {"input", GDK_DEBUG_INPUT},
+ {"cursor", GDK_DEBUG_CURSOR},
};
-static const int gdk_ndebug_keys = sizeof(gdk_debug_keys)/sizeof(GDebugKey);
+static const int gdk_ndebug_keys = G_N_ELEMENTS (gdk_debug_keys);
#endif /* G_ENABLE_DEBUG */
GDK_DEBUG_DND = 1 << 2,
GDK_DEBUG_XIM = 1 << 3,
GDK_DEBUG_NOGRABS = 1 << 4,
+ GDK_DEBUG_COLORMAP = 1 << 5,
+ GDK_DEBUG_GDKRGB = 1 << 6,
+ GDK_DEBUG_GC = 1 << 7,
+ GDK_DEBUG_PIXMAP = 1 << 8,
+ GDK_DEBUG_IMAGE = 1 << 9,
+ GDK_DEBUG_INPUT = 1 <<10,
+ GDK_DEBUG_CURSOR = 1 <<11
} GdkDebugFlag;
#ifndef GDK_DISABLE_DEPRECATED